package com.zxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.zxy.pojo.dto.PageDTOCourseDTO;
import com.zxy.pojo.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    //分页查询数据
    Page<Course> pagequery(@Param("page") Page<Course> page, @Param("dto") PageDTOCourseDTO dto);
}
